package org.jeecg.modules.alarmRound.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.alarmRound.entity.AlarmRound;
import org.jeecg.modules.alarmRound.mapper.AlarmRoundMapper;
import org.jeecg.modules.alarmRound.service.IAlarmRoundService;
import org.springframework.stereotype.Service;

/**
 * @Description: 班次
 * @Author: jeecg-boot
 * @Date:   2023-10-26
 * @Version: V1.0
 */
@Service
public class AlarmRoundServiceImpl extends ServiceImpl<AlarmRoundMapper, AlarmRound> implements IAlarmRoundService {

    @Override
    public String selectCurrentRound() {
        AlarmRound alarmRound = baseMapper.selectCurrentRound();
        return alarmRound.getName();
    }
}
